package com.itany.hotel.dao;

import com.itany.hotel.entity.Room;

import java.util.Date;
import java.util.List;

public interface RoomMapper {

    public List<Room> selectAvailableRooms(Integer categoryId, Date startDate, Date endDate, String roomStatus);

    public List<Room> selectAvailableBeds(Integer categoryId, Date startDate, Date endDate, String roomStatus);





    int deleteByPrimaryKey(Integer id);

    int insert(Room record);

    int insertSelective(Room record);

    Room selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Room record);

    int updateByPrimaryKey(Room record);
}